package net.wanho.study;

import com.alibaba.fastjson.JSON;
import net.wanho.study.entity.Student;

import java.util.Date;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args ) throws ClassNotFoundException {
        Student stu = new Student(1001, "张三", 23, new Date());
        String jsonString = JSON.toJSONString(stu);
        System.out.println(jsonString);


        Class.forName("com.mysql.jdbc.Driver");
    }


    public void t1(){

    }
}
